Skip to main content
PATCH
/
settings
Update settings
curl --request PATCH \
  --url https://your_a2_service/settings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "access_token": {
    "access_token": "<string>",
    "token_type": "Bearer"
  },
  "currency": "<string>",
  "external_channel_url": "<string>",
  "language": "<string>",
  "tls_domain": "<string>",
  "tls_enable": true,
  "yield_optimization": {
    "ceiling_cpm": 123,
    "floor_cpm": 123,
    "yield_roas_balance": 0.5
  },
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}
'
{
  "access_token": {
    "access_token": "<string>",
    "token_type": "Bearer"
  },
  "currency": "<string>",
  "external_channel_url": "<string>",
  "language": "<string>",
  "tls_domain": "<string>",
  "tls_enable": true,
  "yield_optimization": {
    "ceiling_cpm": 123,
    "floor_cpm": 123,
    "yield_roas_balance": 0.5
  },
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.aiderx.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Schema for Setting

access_token
BearerToken · object
required

Access token info

currency
string
required

Currency code for the system. It is used for the budget management.

Examples:

"usd"

"krw"

external_channel_url
string | null
required

External channel URL which will be used on budget management.

language
string
required

Language code for the system.

Examples:

"en"

"ko"

tls_domain
string | null
required

TLS domain name.

tls_enable
boolean
required

Whether TLS is enabled.

yield_optimization
YieldOptimization · object
required

Yield optimization settings

created_at
string<date-time> | null

The date and time the entity was created.

updated_at
string<date-time> | null

The date and time the entity was last updated.

Response

Successful Response

Schema for Setting

access_token
BearerToken · object
required

Access token info

currency
string
required

Currency code for the system. It is used for the budget management.

Examples:

"usd"

"krw"

external_channel_url
string | null
required

External channel URL which will be used on budget management.

language
string
required

Language code for the system.

Examples:

"en"

"ko"

tls_domain
string | null
required

TLS domain name.

tls_enable
boolean
required

Whether TLS is enabled.

yield_optimization
YieldOptimization · object
required

Yield optimization settings

created_at
string<date-time> | null

The date and time the entity was created.

updated_at
string<date-time> | null

The date and time the entity was last updated.